package com.jy.adscm.operation.purchase.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 机器型号bom对应数量的配置表
 * </p>
 *
 * @author lzf
 * @since 2019-05-05
 */
@Data
public class Machinetype implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * bom关联
     */
    private Long bid;
    /**
     * 机器型号
     */
    private String type;
    private String nums;

    @TableField(exist = false)
    private String bomName;
    @TableField(exist = false)
    private  String machineName;
    @TableField("parentId")
    private Long parentId;
    @TableField(exist = false)
    List<Machinetype> chlidren;
    @TableField("peoples")
    private Integer peoples;
    @TableField("timeOut")
    private String timeOut;
    //    根据人数和单人组装好使
    @TableField("totalTime")
    private Double totalTime;
//@TableField("order")
//    private Integer order;
}
